// samsting : this file is auto create.

#include "OssAdmin/2013-07-12/PutBucketPolicyRequest.h"

namespace aliyun { namespace OssAdmin {

PutBucketPolicyRequest::PutBucketPolicyRequest() : RpcAcsRequest("OssAdmin", "2013-07-12", "PutBucketPolicy") {
}

const string& PutBucketPolicyRequest::Getuid(void) const {
  return uid_;
}
void PutBucketPolicyRequest::Setuid(const string& uid) {
  uid_ = uid;
  PutQueryParameter("uid", uid_);
}

const string& PutBucketPolicyRequest::Getbid(void) const {
  return bid_;
}
void PutBucketPolicyRequest::Setbid(const string& bid) {
  bid_ = bid;
  PutQueryParameter("bid", bid_);
}

const string& PutBucketPolicyRequest::GetBucketName(void) const {
  return BucketName_;
}
void PutBucketPolicyRequest::SetBucketName(const string& BucketName) {
  BucketName_ = BucketName;
  PutQueryParameter("BucketName", BucketName_);
}

const string& PutBucketPolicyRequest::GetIamPolicy(void) const {
  return IamPolicy_;
}
void PutBucketPolicyRequest::SetIamPolicy(const string& IamPolicy) {
  IamPolicy_ = IamPolicy;
  PutQueryParameter("IamPolicy", IamPolicy_);
}

bool PutBucketPolicyRequest::GetDisallowEmptyRefer(void) const {
  return DisallowEmptyRefer_;
}
void PutBucketPolicyRequest::SetDisallowEmptyRefer(bool DisallowEmptyRefer) {
  DisallowEmptyRefer_ = DisallowEmptyRefer;
  PutQueryParameter("DisallowEmptyRefer", string_ValueOfBool(DisallowEmptyRefer_));
}

bool PutBucketPolicyRequest::GetEnableDualCluster(void) const {
  return EnableDualCluster_;
}
void PutBucketPolicyRequest::SetEnableDualCluster(bool EnableDualCluster) {
  EnableDualCluster_ = EnableDualCluster;
  PutQueryParameter("EnableDualCluster", string_ValueOfBool(EnableDualCluster_));
}

const string& PutBucketPolicyRequest::GetErrorFile(void) const {
  return ErrorFile_;
}
void PutBucketPolicyRequest::SetErrorFile(const string& ErrorFile) {
  ErrorFile_ = ErrorFile;
  PutQueryParameter("ErrorFile", ErrorFile_);
}

const string& PutBucketPolicyRequest::GetIndexFile(void) const {
  return IndexFile_;
}
void PutBucketPolicyRequest::SetIndexFile(const string& IndexFile) {
  IndexFile_ = IndexFile;
  PutQueryParameter("IndexFile", IndexFile_);
}

const string& PutBucketPolicyRequest::GetLocation(void) const {
  return Location_;
}
void PutBucketPolicyRequest::SetLocation(const string& Location) {
  Location_ = Location;
  PutQueryParameter("Location", Location_);
}

const string& PutBucketPolicyRequest::GetLogBucket(void) const {
  return LogBucket_;
}
void PutBucketPolicyRequest::SetLogBucket(const string& LogBucket) {
  LogBucket_ = LogBucket;
  PutQueryParameter("LogBucket", LogBucket_);
}

const string& PutBucketPolicyRequest::GetLogPrefix(void) const {
  return LogPrefix_;
}
void PutBucketPolicyRequest::SetLogPrefix(const string& LogPrefix) {
  LogPrefix_ = LogPrefix;
  PutQueryParameter("LogPrefix", LogPrefix_);
}

const string& PutBucketPolicyRequest::GetWhiteReferList(void) const {
  return WhiteReferList_;
}
void PutBucketPolicyRequest::SetWhiteReferList(const string& WhiteReferList) {
  WhiteReferList_ = WhiteReferList;
  PutQueryParameter("WhiteReferList", WhiteReferList_);
}

const string& PutBucketPolicyRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void PutBucketPolicyRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace OssAdmin {

// end of file 
